<template>
  <div id="app">
    <nav-menu v-if="$store.state.isLogin" />
    <router-view class="container" />
  </div>
</template>

<style lang="scss">
#app {
  background: #333333;
  height: 100vh;
}
.container {
  width: calc(100vw - 20px);
  height: calc(100vh - 110px);
  margin: 20px 10px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  background: white;
  padding: 20px 25px;
  overflow-y: scroll;
}
</style>
<script>
import NavMenu from "./components/NavMenu/NavMenu";
export default {
  components: { NavMenu }
};
</script>
